package DAD.sunday;

public class Dog extends Animal implements Swim{
    Dog(String name,int age ,String color){

        super(name ,age ,color);




    }
    void lookhome(){
        System.out.println(name+"我可以看家");
    }

    @Override
    void eat() {
        System.out.println(name+"我吃骨头");
    }

    @Override
    public void swim() {
        System.out.println(name+"我可以狗刨");
    }
}
